package com.sxdz.controller.service.order

import com.sxdz.controller.service.IBaseService
import com.sxdz.models.TOrder

/**
 * Created by LiYan on 2016/8/2.
 */
interface IOrderService extends IBaseService{
    /**
     * 按日期查询订单
     * @param params
     * @return
     * @throws Exception
     */
    List<TOrder> findListByDate(Map<String, Object> params) throws Exception

    /***
     * 购买商品的订单查询
     * @param  status
     * @return
     * 00  未支付  10 支付成功
     */
    List<TOrder> findListByStatus(String status);

    /**
     * 按参数查询订单
     * @param params
     * @return
     */
    TOrder findObj(Map<String, Object> params)

    int  deleteOrder(Long id);
}